package ccm.component.override;

import ccm.common.CCMConfigManager;

import javax.swing.*;

public class JButton extends javax.swing.JButton
{
    public JButton()
    {
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

    public JButton(Icon icon)
    {
        super(icon);
        setFont(CCMConfigManager.getFont("ccm/general/font"));

    }

    public JButton(String text)
    {
        super(text);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

    public JButton(Action a)
    {
        super(a);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

    public JButton(String text,Icon icon)
    {
        super(text,icon);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }
}
